package cn.ncist.pojo;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;

/**
 * 体检预约信息
 */
@Data
@TableName("t_order")
@AllArgsConstructor
@NoArgsConstructor
public class Order implements Serializable{
    @TableField(exist = false)
    public static final String ORDERTYPE_TELEPHONE = "电话预约";

    @TableField(exist = false)
    public static final String ORDERTYPE_WEIXIN = "微信预约";

    @TableField(exist = false)
    public static final String ORDERSTATUS_YES = "已到诊";

    @TableField(exist = false)
    public static final String ORDERSTATUS_NO = "未到诊";

    private Integer id;
    private Integer memberId;//会员id

    @TableField("orderDate")
    private Date orderDate;//预约日期|

    @TableField("orderType")
    private String orderType;//预约类型 电话预约/微信预约

    @TableField("orderStatus")
    private String orderStatus;//预约状态（是否到诊）

    @TableField("setmeal_id")
    private Integer setmealId;//体检套餐id

}
